//登录请求参数
export interface LoginForm{
    username:string;
    password:string;
}
//登录响应参数
export interface ResponseData{
    code:number;
    message:string;
    ok:boolean;
}
//登录信息响应参数
export interface LoginInfoData extends ResponseData{
    data:string;
}
//用户信息响应参数
export interface UserInfoData extends ResponseData{
    data:{
        routes:string[];
        buttons:string[];
        roles:string[];
        name:string;
        avatar:string;
    }
}
